 {literal}
<script type="text/javascript">
$(document).ready(function(){
    
})
</script>
{/literal}
<div >
<table class="grid" width="100%">
	<tr>
		<th style="width: 30px;" class="fist header">{translate}Order number{/translate}</th>
		<th class="header" style="width: 160px;">{translate}Test{/translate}</th>
		<th class="header" style="width: 160px;">{translate}Test detail{/translate}</th>
		<th class="header" style="width: 50px;">{translate}Done{/translate}</th>
		<th class="header" style="width: 90px;">{translate}Price{/translate}</th>
		<th class="header" style="width: 90px;">{translate}Insurance payment{/translate}</th>
		<th class="last header" style="width: 90px;">{translate}Patient payment_1{/translate}</th>
	</tr>

	{assign var="count" value=1} 
	{foreach from=$assignedTestArr item=test}
		<tr>
			<td class="first">{$count++}</td>
			<td>{$test.test_name} :</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td class="last">&nbsp;</td>
		</tr>
		{foreach from=$test.test_item item=testItem}
		<tr>
			<td class="first">&nbsp;</td>
			<td>&nbsp;</td>
			<td style="font-style: italic;">{$testItem.name}</td>
			<td align="center"">
	          {if ($testItem.is_done == 0)} 
	          <input type="checkbox"  name="testItemDoneCheckbox" disabled="disabled"> 
	          {else} 
	          <input type="checkbox"  name="testItemDoneCheckbox" disabled="disabled" checked="checked"> 
	          {/if}
            </td>
			<td >
			{if ($testItem.is_done != 0)}
			 {$testItem.original_price} 
			{/if}
			</td>
			<td >
            {if ($testItem.is_done != 0)}
             {$testItem.insurance_price} 
            {/if}
            </td>
            <td class="last" >
            {if ($testItem.is_done != 0)}
             {$testItem.patient_price} 
            {/if}
            </td>
		</tr>
		{/foreach}
    {/foreach}

</table>
</div>
